package com.iswust.visual.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iswust.visual.model.CityAqi;
import com.iswust.visual.model.vo.DateTimeVo;
import com.iswust.visual.model.vo.ScatterData;
import com.iswust.visual.model.vo.WindVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author swust
 * @since 2023-02-17
 */
public interface CityAqiMapper extends BaseMapper<CityAqi> {

    List<ScatterData> getScatterDataByDay(@Param("dateTime") DateTimeVo dateTimeVo);

    List<ScatterData> getScatterDataByMonth(@Param("dateTime") DateTimeVo dateTimeVo);

    List<WindVo> getWindDataByDay(@Param("dateTime") DateTimeVo dateTimeVo);

    List<CityAqi> getCityAqiByDate(@Param("dateTime") DateTimeVo dateTimeVo);


}
